package com.dwxt.sport.entity;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Table(name = "device_scene")
public class DeviceScene {

    @Id
    private String id;

    @Column(name = "create_time")
    private Date createTime;

    /**
     * 设备id
     */
    @Column(name = "device_id")
    private String deviceId;

    /**
     * 场景id
     */
    @Column(name = "scene_id")
    private String sceneId;

    /**
     * @return id
     */
    public String getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * @return create_time
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * @param createTime
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 获取设备id
     *
     * @return device_id - 设备id
     */
    public String getDeviceId() {
        return deviceId;
    }

    /**
     * 设置设备id
     *
     * @param deviceId 设备id
     */
    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    /**
     * 获取场景id
     *
     * @return scene_id - 场景id
     */
    public String getSceneId() {
        return sceneId;
    }

    /**
     * 设置场景id
     *
     * @param sceneId 场景id
     */
    public void setSceneId(String sceneId) {
        this.sceneId = sceneId;
    }
}